services:
  phpredisadmin:
    image: registry.cn-hangzhou.aliyuncs.com/weizhihui/phpredisadmin:1.19.3
    container_name: phpredisadmin
    restart: always
    ports:
      - '9081:80'
    environment:
      - ADMIN_USER=admin
      - ADMIN_PASS=admin
      - REDIS_1_HOST={{ redis.host }}
      - REDIS_1_AUTH={{ redis.password }}
      - REDIS_1_PORT={{ redis.port }}
    networks:
      - monitor
networks:
  monitor:
    external: true
